package com.web.dao;

import com.web.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExpertsMapper {
    List<ExpertsList> getExpertsList(@Param("userId") String userId);

    void insertConcernedExperts(ConcernedExperts concernedExperts);

    ConcernedExperts findMyConcernedExperts(@Param("user_id")String user_id,@Param("touser_id") String touser_id,@Param("type") Integer type);

    List<MyExperts> getMyConcern(String userid);

    void RemoveConcerns(@Param("user_id")String user_id,@Param("touser_id") String touser_id,@Param("type") Integer type);

    ExpertsDetails getExpertsDetails(Integer id);

    List<Case> getProjectExperience(String user_id);

    List<ExpertRelease> HistoricalRelease(Integer id);

    List<Case> ClassicCase(Integer id);

    void updateExperts(InstantInfoExperts life);

    List<UserQuestion> getUserQuestion();

    List<UserAnswer> getUserAnswer();

    UserAnswer selectById(@Param("key") String key,@Param("value") String value);

    void updateUserQuiz(UserAnswer userAnswer);

}
